package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.activity.douluodalu.log.PatronsBlood;

import java.util.Date;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_l_ck_douluodalu_battle_result", desc = "斗罗/封神魂师对决日志", autoSave = true, uploadCk = true)
public class LogDouLuoDaLuPatronsFightResult extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "玩家id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "队伍id")
    private int teamId;

    @FieldTypeAnnotation(desc = "积分-战斗前")
    private long score;

    @FieldTypeAnnotation(desc = "门客id")
    private int patronsId;

    @FieldTypeAnnotation(desc = "门客初始魂力")
    private long hunLi;

    @FieldTypeAnnotation(desc = "是否一键")
    private boolean oneKey;

    @FieldTypeAnnotation(desc = "加成")
    private List<Integer> buffList;

    @FieldTypeAnnotation(desc = "战斗类型：1：派遣；2：追捕；3：挑战")
    private int battleType;

    @FieldTypeAnnotation(desc = "对手id")
    private long enemyUserId;

    @FieldTypeAnnotation(desc = "对手区服")
    private long enemyServerId;

    @FieldTypeAnnotation(desc = "对手积分-战斗前")
    private long enemyScore;

    @FieldTypeAnnotation(desc = "对手门客数")
    private int enemyPatronsNum;

    @FieldTypeAnnotation(desc = "对手魂力")
    private long enemyHunLi;

    @FieldTypeAnnotation(desc = "是否全胜")
    private boolean allKill;

    @FieldTypeAnnotation(desc = "连胜次数")
    private int winTimes;

    @FieldTypeAnnotation(desc = "奖励")
    private String rewards;

    @FieldTypeAnnotation(desc = "门客百业经验")
    private int allPatronsExp;

    @FieldTypeAnnotation(desc = "累计击败门客")
    private List<PatronsBlood> patronsBloodList;

    public LogDouLuoDaLuPatronsFightResult(int activityId, long userId, int teamId, long score, int patronsId, long hunLi,
                                           boolean oneKey, List<Integer> buffList, int battleType, long enemyUserId, long enemyServerId, long enemyScore, int enemyPatronsNum, long enemyHunLi,
                                           boolean allKill, int winTimes, String rewards, List<PatronsBlood> patronsBloodList, int allPatronsExp) {
        this.activityId = activityId;
        this.userId = userId;
        this.teamId = teamId;
        this.score = score;
        this.patronsId = patronsId;
        this.hunLi = hunLi;
        this.oneKey = oneKey;
        this.buffList = buffList;
        this.battleType = battleType;
        this.enemyUserId = enemyUserId;
        this.enemyServerId = enemyServerId;
        this.enemyScore = enemyScore;
        this.enemyPatronsNum = enemyPatronsNum;
        this.enemyHunLi = enemyHunLi;
        this.allKill = allKill;
        this.winTimes = winTimes;
        this.rewards = rewards;
        this.patronsBloodList = patronsBloodList;
        this.allPatronsExp = allPatronsExp;
    }

    public long getUserId() {
        return userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getTeamId() {
        return teamId;
    }

    public void setTeamId(int teamId) {
        this.teamId = teamId;
    }

    public long getScore() {
        return score;
    }

    public void setScore(long score) {
        this.score = score;
    }

    public int getPatronsId() {
        return patronsId;
    }

    public void setPatronsId(int patronsId) {
        this.patronsId = patronsId;
    }

    public long getHunLi() {
        return hunLi;
    }

    public void setHunLi(long hunLi) {
        this.hunLi = hunLi;
    }

    public boolean isOneKey() {
        return oneKey;
    }

    public void setOneKey(boolean oneKey) {
        this.oneKey = oneKey;
    }

    public List<Integer> getBuffList() {
        return buffList;
    }

    public void setBuffList(List<Integer> buffList) {
        this.buffList = buffList;
    }

    public int getBattleType() {
        return battleType;
    }

    public void setBattleType(int battleType) {
        this.battleType = battleType;
    }

    public long getEnemyUserId() {
        return enemyUserId;
    }

    public void setEnemyUserId(long enemyUserId) {
        this.enemyUserId = enemyUserId;
    }

    public long getEnemyServerId() {
        return enemyServerId;
    }

    public void setEnemyServerId(long enemyServerId) {
        this.enemyServerId = enemyServerId;
    }

    public long getEnemyScore() {
        return enemyScore;
    }

    public void setEnemyScore(long enemyScore) {
        this.enemyScore = enemyScore;
    }

    public int getEnemyPatronsNum() {
        return enemyPatronsNum;
    }

    public void setEnemyPatronsNum(int enemyPatronsNum) {
        this.enemyPatronsNum = enemyPatronsNum;
    }

    public long getEnemyHunLi() {
        return enemyHunLi;
    }

    public void setEnemyHunLi(long enemyHunLi) {
        this.enemyHunLi = enemyHunLi;
    }

    public boolean isAllKill() {
        return allKill;
    }

    public void setAllKill(boolean allKill) {
        this.allKill = allKill;
    }

    public int getWinTimes() {
        return winTimes;
    }

    public void setWinTimes(int winTimes) {
        this.winTimes = winTimes;
    }

    public String getRewards() {
        return rewards;
    }

    public void setRewards(String rewards) {
        this.rewards = rewards;
    }

    public int getAllPatronsExp() {
        return allPatronsExp;
    }

    public void setAllPatronsExp(int allPatronsExp) {
        this.allPatronsExp = allPatronsExp;
    }

    public List<PatronsBlood> getPatronsBloodList() {
        return patronsBloodList;
    }

    public void setPatronsBloodList(List<PatronsBlood> patronsBloodList) {
        this.patronsBloodList = patronsBloodList;
    }
}
